#!/bin/bash

# 清屏
clear

# 输出报告标题
echo "Storage Report by lichangsheng"
echo "======================================"

# 1. 显示RAID 1阵列状态
echo -e "\n--- RAID 1 Array Status (/dev/md1) ---"
mdadm --detail /dev/md1

# 2. 显示LVM卷组状态（vg_60132）
echo -e "\n--- LVM Volume Group Status (vg_60132) ---"
vgdisplay vg_60132

# 3. 显示LVM逻辑卷状态（lv_lichangsheng）
echo -e "\n--- LVM Logical Volume Status (lv_lichangsheng) ---"
lvdisplay /dev/vg_60132/lv_lichangsheng

# 4. 显示所有文件系统挂载情况
echo -e "\n--- All Filesystem Mounts ---"
df -h
